package dao.Impl;

import dao.UserDao;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;


public class UserDaoImpl implements UserDao, InitializingBean, DisposableBean {
    @Override
    public void save() {
        System.out.println("User Dao");
        System.out.println("User Dao");
        System.out.println("User Dao");
        System.out.println("User Dao");
        System.out.println("User Dao");
    }

    @Override
    public void destroy() throws Exception {
        System.out.println("销毁");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("初始化");
    }
}
